import { createRouter, createWebHistory } from 'vue-router'

const hello = () => import("../components/HelloWorld.vue")
const List = () => import("../components/Search.vue")



export default createRouter({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: hello
      
    }, 
    {
      path: '/list',
      name: "List",
      component: List
    }
    
  ],
  history: createWebHistory()
})